package org.jeecg.modules.basic.repair.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.Column;

/**
 * @Description: 报修维修
 * @Author: jeecg-boot
 * @Date:   2021-02-28
 * @Version: V1.0
 */
@Data
@TableName("lwgy_repair_maintenance")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="lwgy_repair_maintenance对象", description="报修维修")
public class LwgyRepairMaintenance implements Serializable {
    private static final long serialVersionUID = 1L;

	/**编号*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "编号")
    private java.lang.String  id;
    /**校区*/
    @Excel(name = "校区", width = 15,dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
    @Dict(dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "校区")
    private String campusId;
    /**楼宇*/
    @Excel(name = "楼宇", width = 15,dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
    @Dict(dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "楼宇")
    private String buildingId;
    /**单元*/
    @Excel(name = "单元", width = 15,dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
    @Dict(dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "单元")
    private String unitId;
    /**楼层*/
    @Excel(name = "楼层", width = 15,dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
    @Dict(dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "楼层")
    private String layerId;
    /**房间*/
    @Excel(name = "房间", width = 15,dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
    @Dict(dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "房间")
    private String roomId;

	@Excel(name = "报修人", width = 15)
    @ApiModelProperty(value = "报修人")
    private java.lang.String bxUsername;
	/**电话*/
	@Excel(name = "电话", width = 15)
    @ApiModelProperty(value = "电话")
    private java.lang.String phone;
	/**联系人*/
	//@Excel(name = "联系人", width = 15)
    @ApiModelProperty(value = "联系人")
    private java.lang.String contact;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
	/**0:未修复  1:已修复  2:已指派*/
	@Excel(name = "修复状态", width = 15,dicCode = "state")
    @Dict(dicCode = "state")
    @ApiModelProperty(value = "修复状态")
    private java.lang.String state;
    /**审核0:未审核  1:待补修  2:修复 3:待补修*/
    @Excel(name = "审核状态", width = 15,dicCode = "bxstate")
    @Dict(dicCode = "bxstate")
    @ApiModelProperty(value = "审核状态")
    private java.lang.String bxstate;
    /**指派给*/
    @Excel(name = "指派给", width = 15,dicText = "realname",dictTable = "sys_user",dicCode = "id")
    @Dict(dicCode = "id",dicText = "realname",dictTable = "sys_user")
    @ApiModelProperty(value = "指派给")
    private java.lang.String assignUsername;
	/**指派时间*/
	@Excel(name = "指派时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "指派时间")
    private java.util.Date assignDatetime;
	/**报修时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "报修时间")
    private java.util.Date bxDatetime;
	/**修复时间*/
	@Excel(name = "修复时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修复时间")
    private java.util.Date repairDatetime;
	/**报修分类*/
	@Excel(name = "报修分类", width = 15, dicCode = "id",dicText = "name",dictTable = "lwgy_repair_catalog")
    @Dict(dicCode = "id",dicText = "name",dictTable = "lwgy_repair_catalog")
    @ApiModelProperty(value = "报修分类")
    private java.lang.String bcatalogid;
    /**是否收费*/
    @Excel(name = "是否收费", width = 15,dicCode = "feestatus")
    @Dict(dicCode = "feestatus")
    @ApiModelProperty(value = "是否收费")
    private java.lang.String feestatus;
	/**评价*/
	@Excel(name = "评价", width = 15, dicCode = "vote")
    @Dict(dicCode = "vote")
    @ApiModelProperty(value = "评价")
    private java.lang.String vote;
	/**报修照片*/
	@Excel(name = "报修照片", width = 15,type = 2)
    @ApiModelProperty(value = "报修照片")
    private java.lang.String photo;
	/**评论说明*/
	//@Excel(name = "评价说明", width = 15)
    @ApiModelProperty(value = "评价说明")
    private java.lang.String voteRemark;

	@Excel(name = "维修时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "维修时间")
    private java.util.Date maintenanceDatetime;
	/**类型id*/
	//@Excel(name = "类型id", width = 15)
    @ApiModelProperty(value = "类型id")
    private java.lang.String typeid;

	/**完成照片*/
	//@Excel(name = "完成照片", width = 15)
    @ApiModelProperty(value = "完成照片")
    private java.lang.String overphoto;
	/**教师评价*/
	//@Excel(name = "教师评价", width = 15)
    @ApiModelProperty(value = "教师评价")
    private java.lang.String teacherVote;
	/**待补修说明*/
	//@Excel(name = "被驳回说明", width = 15)
    @ApiModelProperty(value = "被驳回说明")
    private java.lang.String bxstateRemark;
	/**教师评价说明*/
	//@Excel(name = "教师评价说明", width = 15)
    @ApiModelProperty(value = "教师评价说明")
    private java.lang.String teachervoteRemark;

    /**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**创建日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd  HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd  HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**更新日期*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;

    private String studentNumber;



    }

